package com.jdbc.test;

import com.jdbc.utils.JDBCUtils;

import java.sql.Connection;

/**
 * @author wzm
 * @create 2023-10-31 14:09
 * project_name:web2310
 */

public class ConnTest01 {
    public static void main(String[] args) {
        //测试获取连接的方法
        Connection conn = JDBCUtils.getConn();
        System.out.println("conn = " + conn);

        JDBCUtils.closeConn(conn,null,null);

    }
}
